package com.qianli.service.impl;

import com.qianli.bean.Images;
import com.qianli.dao.ImagesMapper;
import com.qianli.service.Imageservice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;


@Service
public class ImageServiceImpl implements Imageservice {

    @Autowired
    ImagesMapper imagesMapper;

    @Override
    public void deleteImage(Map map) {
       imagesMapper.deleteImage(map);
    }

    @Override
    public int insertImage(Map map) {
        return imagesMapper.insertImage(map);
    }

    @Override
    public List<Map> selectImages(Map map) {
        return imagesMapper.selectImages(map);
    }
}
